package com.dizang.sharding.infrastrusture.repository.impl;

import com.dizang.sharding.infrastrusture.repository.UserRepository;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dizang.sharding.common.repository.impl.BaseRepositoryImpl;
import com.dizang.sharding.infrastrusture.entity.User;
import com.dizang.sharding.infrastrusture.mapper.UserMapper;

/**
 * 
 * @author kelvin.cai
 *
 */
@Component
public class UserRepositoryImpl extends BaseRepositoryImpl<User> implements UserRepository {

    @Autowired
	private UserMapper userMapper;
	
    @Override
	public BaseMapper<User> getRepository(){
		return this.userMapper;
	}
    
}
